//
//  TYCustomConfig+SelfRegiste.m
//  TYOEMConfig
//
//  Created by huangjj on 2020/3/31.
//

#import "TYCustomConfig+SelfRegiste.h"

@implementation TYCustomConfig (SelfRegiste)

+ (void)registeCustomConfig:(NSDictionary *)configDic {
    if (configDic.allKeys.count == 0) return;
    
    [configDic.allKeys enumerateObjectsUsingBlock:^(id  _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
        [[TYCustomConfig sharedInstance] setValue:[configDic objectForKey:obj] forKey:obj];
    }];
}

@end
